<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2019/3/4
 * Time: 17:26
 * url:/erpEnterpriseStructure/add_user_organization_structure_manager
 */

$ouosm_uid   = $route->bodyParams['ouosm_uid']; //管理员帐号iD
$ouosm_oesid   = $route->bodyParams['ouosm_oesid']; //管理的机构ID

//写入数组
$insertArr = [
    'ouosm_uid'   =>$ouosm_uid,
    'ouosm_oesid' =>$ouosm_oesid,
];
//执行写入语句
$rsData = $db->mysqlDB->insert("oa_user_organization_structure_manager",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );